home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / WINDOWS / EDITORS / WINDE2 / WORK.DOC < prev    next >
Text File  |  1990-09-30  |  2KB  |  73 lines

  1. This file describes the macro keys supplied on the WindE distribution
  2. file: WORK.WEK.
  3.  
  4. f2 - Function key 2 - is defined as:
  5.  
  6.     <f2><alt-1><alt-F>
  7.  
  8. f2 marks the cursor position and does a find command.  This is useful
  9. for going back to the previous find ( CTRL+PGUP ).
  10.  
  11. cf2 - Control Function key 2 - is defined as:
  12.  
  13.     <cf2><alt-1><alt-F><cf2>
  14.  
  15. is similar to f2 except that is chains back to inself.  This is useful
  16. for marking all occurances of a selection within a file.
  17.  
  18. cf3 - Control Function key 3 - is defined as:
  19.  
  20.     <cf3><alt-0><cPgDn><alt-0><cPgUp><cf3>
  21.  
  22. This key can be used to unmark all marks within a file.
  23.  
  24. f3 - Function key 3 - is defined as:
  25.  
  26.     <f3><alt-L>
  27.  
  28. to simply perform a REPLACE function.
  29.  
  30. f4 - Function key 4 - is defined as:
  31.  
  32.     <f4><alt-C>
  33.  
  34. to perform a COPY function.
  35.  
  36. f5 - Function key 5 - is defined as:
  37.  
  38.     <f5><down><alt-1><up><cEnd><cPgUp><alt-0><down><alt-1><up><cHome>
  39.     <cPgDn><cPgDn><alt-0>
  40.  
  41. Given the following example code fragment:
  42.  
  43.                                     *
  44.  
  45.     if expression then begin
  46.         do something            { a comment about this code }
  47.     else                        { a comment about this code }
  48.         do something else       { a comment about this code }
  49.  
  50. the comment block to the right can be move up to the asterisk position
  51. by placing the cursor at the asterisk and doing a mark (ALT+1) and
  52. then placing the cursor on the first brace of the top comment line
  53. and pressing the f5 key three times.
  54.  
  55. Note that the key to this macro is the undo key, <cHome>, which copies
  56. the text that was deleted by the <cEnd> key.
  57.  
  58. f6 - Function key 6 - is defined as:
  59.  
  60.     <f6><cEnd><up><alt-1><cPgDn><alt-0><up><alt-1><down><cHome>
  61.     <cPgUp><cPgUp><alt-0>
  62.  
  63. and can be used to move the comment block down, by placing a mark
  64. below the block, placing the cursor on the left brace of the bottom
  65. comment line and pressing f6 three times.
  66.  
  67. f8 - Function key 8 - is defined as:
  68.  
  69.     <f8><alt-3><alt=>
  70.  
  71. This command selects the cursor line and does an execute command.
  72. This is a convenient way to execute a DOS command from WindE.
  73.